<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	template="/template/template_dialog.xhtml">
	<ui:define name="head">
		<title>#{lang.XinSheBeiQiDong}</title>
		<link rel="stylesheet"
			href="/resources/plugins/datatables/dataTables.bootstrap.css" />
		<link href='/resources/bootstrap/css/bootstrap-datetimepicker.min.css'
			rel='stylesheet' />
		<style>
label {
	padding: 0px !important;
}

table.dataTable thead>tr>th {
	padding-right: 0px;
}
.correct{
	color:green;
	text-align:center;
	font-weight:bold;
}
.error{
	text-align:center;
	color:red;
	font-weight:bold;
}
</style>

	</ui:define>
	<ui:define name="content">
		<div id="contentDiv" class="row">
			<nav class="navbar navbar-default">
				<form class="navbar-form navbar-left">
					<div class="btn btn-default">
						<i class="fa fa-calendar"/>
					</div>
					<div class="form-group">
						<input type="text" class="form-control" id="startTime" /> 
						<input type="text" class="form-control" id="endTime" />
					</div>
					<div class="btn btn-default" onclick="query();">#{lang.ChaXun}</div>
				</form>
			</nav>
			<div class="nav-tabs-custom">
				<div class="tab-content"
					style="padding-left: 20px; padding-right: 20px;">
					<table id="newEquipmentTable" style="width: 100%;"
						class="table table-gray"/>
				</div>
			</div>
		</div>
		<h:inputHidden id="start" value="#{request.getParameter('startTime')}"></h:inputHidden>
		<h:inputHidden id="end" value="#{request.getParameter('endTime')}"></h:inputHidden>
	</ui:define>
	<ui:define name="contentend">
		<script src="/resources/js/tables/mytable.js"></script>
		<script src="/resources/plugins/datatables/jquery.dataTables.min.js"></script>
		<script
			src="/resources/plugins/datatables/dataTables.bootstrap.min.js"></script>
		<script src="/resources/bootstrap/js/bootstrap-datetimepicker.min.js"></script>
		<script>
		localeTitle={
			XuHao:'#{lang.XuHao}',
			SuoShuDiQu:'#{lang.SuoShuDiQu}',
			GongChengMingCheng:'#{lang.GongChengMingCheng}',
			GongChengZiLiaoGuanLi:'#{lang.GongChengZiLiaoGuanLi}',
			ChangZhanCTPeiZhiTu:'#{lang.ChangZhanCTPeiZhiTu}',
			BaoHuJiTongDaoMingMing:'#{lang.BaoHuJiTongDaoMingMing}',
			DingZhiHeChaJiBeiAn:'#{lang.DingZhiHeChaJiBeiAn}',
			DianWangTiaoZhaQingCe:'#{lang.DianWangTiaoZhaQingCe}',
			BaoXinXiTongJieRu:'#{lang.BaoXinXiTongJieRu}',
			XinSheBeiTouChanQiYanShou:'#{lang.XinSheBeiTouChanQiYanShou}',
			DingZhiZhengDingJiXiaFa:'#{lang.DingZhiZhengDingJiXiaFa}',
			XuQiTaZhuanYePeiHeGongZuo:'#{lang.XuQiTaZhuanYePeiHeGongZuo}'
		}
		 var scrollYHeight = wrapperHeight - 200;
		 $('#contentDiv').css('height',wrapperHeight);
		</script>
		<script src="dailyNewEquipment.js"></script>
		<script>
			$(function() {
				init();
			});
		</script>
	</ui:define>
</ui:composition>



